package com.ndood.spider.hqgz.domain;

import java.io.Serializable;

public class HjGoods implements Serializable {
    private Integer id;

    private Integer storeId;

    /**
     * 商品名称
     */
    private String name;

    /**
     * 售价
     */
    private Double price;

    /**
     * 原价（只做显示用）
     */
    private Double originalPrice;

    /**
     * 商品详情，图文
     */
    private String detail;

    /**
     * 商品类别
     */
    private Integer catId;

    /**
     * 上架状态：0=下架，1=上架
     */
    private Integer status;

    private Integer addtime;

    private Integer isDelete;

    /**
     * 规格的库存及价格
     */
    private String attr;

    /**
     * 商品服务选项
     */
    private String service;

    /**
     * 排序  升序
     */
    private Integer sort;

    /**
     * 虚拟销量
     */
    private Integer virtualSales;

    /**
     * 商品缩略图
     */
    private String coverPic;

    /**
     * 视频
     */
    private String videoUrl;

    /**
     * 单位
     */
    private String unit;

    /**
     * 是否单独分销设置：0=否，1=是
     */
    private Integer individualShare;

    /**
     * 一级分销佣金比例
     */
    private Double shareCommissionFirst;

    /**
     * 二级分销佣金比例
     */
    private Double shareCommissionSecond;

    /**
     * 三级分销佣金比例
     */
    private Double shareCommissionThird;

    /**
     * 重量
     */
    private Double weight;

    /**
     * 运费模板ID
     */
    private Integer freight;

    /**
     * 满减
     */
    private String fullCut;

    /**
     * 积分设置
     */
    private String integral;

    /**
     * 是否使用规格：0=不使用，1=使用
     */
    private Integer useAttr;

    /**
     * 佣金配比 0--百分比 1--固定金额
     */
    private Integer shareType;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(Double originalPrice) {
        this.originalPrice = originalPrice;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public Integer getCatId() {
        return catId;
    }

    public void setCatId(Integer catId) {
        this.catId = catId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getAddtime() {
        return addtime;
    }

    public void setAddtime(Integer addtime) {
        this.addtime = addtime;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public String getAttr() {
        return attr;
    }

    public void setAttr(String attr) {
        this.attr = attr;
    }

    public String getService() {
        return service;
    }

    public void setService(String service) {
        this.service = service == null ? null : service.trim();
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getVirtualSales() {
        return virtualSales;
    }

    public void setVirtualSales(Integer virtualSales) {
        this.virtualSales = virtualSales;
    }

    public String getCoverPic() {
        return coverPic;
    }

    public void setCoverPic(String coverPic) {
        this.coverPic = coverPic;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit == null ? null : unit.trim();
    }

    public Integer getIndividualShare() {
        return individualShare;
    }

    public void setIndividualShare(Integer individualShare) {
        this.individualShare = individualShare;
    }

    public Double getShareCommissionFirst() {
        return shareCommissionFirst;
    }

    public void setShareCommissionFirst(Double shareCommissionFirst) {
        this.shareCommissionFirst = shareCommissionFirst;
    }

    public Double getShareCommissionSecond() {
        return shareCommissionSecond;
    }

    public void setShareCommissionSecond(Double shareCommissionSecond) {
        this.shareCommissionSecond = shareCommissionSecond;
    }

    public Double getShareCommissionThird() {
        return shareCommissionThird;
    }

    public void setShareCommissionThird(Double shareCommissionThird) {
        this.shareCommissionThird = shareCommissionThird;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public Integer getFreight() {
        return freight;
    }

    public void setFreight(Integer freight) {
        this.freight = freight;
    }

    public String getFullCut() {
        return fullCut;
    }

    public void setFullCut(String fullCut) {
        this.fullCut = fullCut;
    }

    public String getIntegral() {
        return integral;
    }

    public void setIntegral(String integral) {
        this.integral = integral;
    }

    public Integer getUseAttr() {
        return useAttr;
    }

    public void setUseAttr(Integer useAttr) {
        this.useAttr = useAttr;
    }

    public Integer getShareType() {
        return shareType;
    }

    public void setShareType(Integer shareType) {
        this.shareType = shareType;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", storeId=").append(storeId);
        sb.append(", name=").append(name);
        sb.append(", price=").append(price);
        sb.append(", originalPrice=").append(originalPrice);
        sb.append(", detail=").append(detail);
        sb.append(", catId=").append(catId);
        sb.append(", status=").append(status);
        sb.append(", addtime=").append(addtime);
        sb.append(", isDelete=").append(isDelete);
        sb.append(", attr=").append(attr);
        sb.append(", service=").append(service);
        sb.append(", sort=").append(sort);
        sb.append(", virtualSales=").append(virtualSales);
        sb.append(", coverPic=").append(coverPic);
        sb.append(", videoUrl=").append(videoUrl);
        sb.append(", unit=").append(unit);
        sb.append(", individualShare=").append(individualShare);
        sb.append(", shareCommissionFirst=").append(shareCommissionFirst);
        sb.append(", shareCommissionSecond=").append(shareCommissionSecond);
        sb.append(", shareCommissionThird=").append(shareCommissionThird);
        sb.append(", weight=").append(weight);
        sb.append(", freight=").append(freight);
        sb.append(", fullCut=").append(fullCut);
        sb.append(", integral=").append(integral);
        sb.append(", useAttr=").append(useAttr);
        sb.append(", shareType=").append(shareType);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}